* fakemail.c: Include <ignore-value.h>.
authorPaul Eggert <eggert@cs.ucla.edu>
Sat, 26 Feb 2011 05:36:51 +0000 (21:36 -0800)
committerPaul Eggert <eggert@cs.ucla.edu>
Sat, 26 Feb 2011 05:36:51 +0000 (21:36 -0800)
commit27ef9c5a6c210dec198f0653fb4bb36269eb2ff9
treeed805b99cfca3cf7759baf92b361a5cb37e2aa65
parent7b8690a4b54c65460b86a2ddbaa16e9ae6b13632
* fakemail.c: Include <ignore-value.h>.

(put_line): Explicitly ignore fwrite return value, for benefit of
recent glibc + gcc.
(close_the_streams): Diagnose output errors instead of merely
exiting with nonzero status.
(my_fclose, main): Diagnose input errors, and exit with nonzero status.
Formerly, input errors were silently ignored.
lib-src/ChangeLog
lib-src/fakemail.c